package com.loto.insurance.mis.web.enumeration;

public enum MenuEnum {
  NOT_SPECIFIED("", 0, 0), ORDER_LIST("订单查询", 11, 1)
  // , INVOICE_LIST("发票申领管理", 12, 1)
  , PRODUCT_LIST("产品查询", 21, 2), SUPPLIER_LIST("供应商查询", 31, 3), CUSTOMER_LIST(
	  "经销商查询", 32, 3), INSURER_LIST("保险公司管理", 33, 3), OEM_LIST("保险公司管理", 34, 3)
  // , SALES_ORDER_STATISTICS("销售绩效统计", 34, 3)
  , USER_LIST("员工管理", 35, 3) 
  //,FINANCIAL_SUPPLEMENT("充值查询", 41, 4)
  , FINANCIAL_FEE_LIST("交易查询", 42, 4);

  private String name;
  private int index;
  private int parentId;

  private MenuEnum(String name, int index, int parentId) {
	this.name = name;
	this.index = index;
	this.parentId = parentId;
  }

  public String getName() {
	return name;
  }

  public void setName(String name) {
	this.name = name;
  }

  public int getIndex() {
	return index;
  }

  public void setIndex(int index) {
	this.index = index;
  }

  @Override
  public String toString() {
	return String.valueOf(this.name);
  }

  public int getParentId() {
	return parentId;
  }

  public void setParentId(int parentId) {
	this.parentId = parentId;
  }
}
